import Pagetools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import ThemePicker from './ThemePicker'
import Lang from './Lang'
// 插件是一个对象，必须提供install方法
// 1、在Vue.use后，会自动调用插件的install方法
// 2、install方法中，可以提供组件全局注册的代码
export default {
  install(Vue) {
    Vue.component('Pagetools', Pagetools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
  }
}
